package libofei.dao;

import libofei.entity.order.Order;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
public interface OrderMapper {


     Order findByUserId(@Param("userId") Long userId);


     int insertOrder(@Param("requestId") Long requestId,@Param("userId") Long userId);
}
